var TingPaiType = {
    PINGHU: 0,  //  平胡
    BIANPADIAO: 1, //边卡掉
    DADUIZI: 2, //大对子
    DAKUANGZI: 3,  //大宽张
    QIXIAODUI: 4, //七小对
    LONGQIDUI: 5, //龙七对
    QINGYISE: 6, //清一色,
    TIANHU: 7, //天胡,
    DIHU: 8, //地胡
    GANGSHANGHUA: 9,  //杠上花
    GANGSHANGPAO: 10, //杠上炮
    QIANGGANGHU: 11 //抢杠胡
};

var HuiPaiScore = {
    0: {zimo: 3, fangpao: 2},
    1: {zimo: 4, fangpao: 3},
    2: {zimo: 6, fangpao: 5},
    3: {zimo: 5, fangpao: 4},
    4: {zimo: 11, fangpao: 10},
    5: {zimo: 21, fangpao: 20},
    6: {zimo: 11, fangpao: 10},
    7: {zimo: 11},
    8: {zimo: 11},
    9: {zimo: 10},
    10: {},
    11: {}
};

var GangPaiType = {
    MINGGANG: 0, // 明杠
    ANGANG: 1, // 暗杠
    WANGANG: 2 //转弯杠
};

var GangPaiScore = {
    0: {score: 2},
    1: {score: 3},
    2: {score: 4}
};

var GameStatus = {
    DINGQUE:  0, //定缺
    PYAYING:  1, // 开始
    GAMEOVER: 2, //游戏结束
    IDLE: 3 //空闲
};

module.exports = {
    TingPaiType: TingPaiType,
    HuiPaiScore: HuiPaiScore,
    GangPaiType: GangPaiType,
    GangPaiScore: GangPaiScore,
    GameStatus: GameStatus
};

